package cn.sunxyz.data.orm;

import java.util.List;

/**
 * Created by yangrd on 2017/6/7.
 */
public interface EntityQueryManger {


    <T> List<T> queryList(IMethod iMethod, Object... params);


    <T> T query(IMethod iMethod, Object... params);


    int delete(IMethod iMethod, Object... params);

    //这个可以根据类推断;
    int update(String sql, Object... params);

}
